package com.ruoyi.business.model;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 支付下单请求参数
 */

@Data
public class AppNotifyOrderReq implements Serializable {

    private static final long serialVersionUID = -8094524055661558186L;
    /**
     * 注册的商户uid
     */
    @NotNull(message = "设备标识不能为空")
    //@ApiModelProperty(value = "设备标识" ,required = true)
    private String deviceId;

    /**
     * 签名。计算规则参考接口文档说明
     */
    @NotNull(message = "channel不能为空")
    //@ApiModelProperty(value = "channel" ,required = true)
    private String channel;

    /**
     * 当前时间戳（单位毫秒）
     */
    //@ApiModelProperty(value = "number" ,required = true)
    private String number;

    @NotNull(message = "content不能为空")
    //@ApiModelProperty(value = "content" ,required = true)
    private String content;

    @NotNull(message = "timestamp不能为空")
    //@ApiModelProperty(required = true ,value = "timestamp")
    private String timestamp;

    //@ApiModelProperty(value = "phone")
    private String phone;

    //@ApiModelProperty(value = "title")
    private String title;
    //@ApiModelProperty(value = "sign")
    private String sign;
    //@ApiModelProperty(value = "money")
    private String money;
    //@ApiModelProperty(value = "token")
    private String token;

}
